﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using GreenyMeter.DOM.Tools;
using GreenyMeter.DOM.Enums;

namespace GreenyMeter.DOM.Tools
{
    public class PresentationTools
    {


        static public DataTable getDatatableNumberOfItems(int INdexNumber)
       {
           DataTable dtNumberOfItems = new DataTable();
           dtNumberOfItems.Columns.Add("Index", typeof(int));

           for (int i = 1; i <= INdexNumber; i++)
           {
               dtNumberOfItems.Rows.Add(i);
           }
           

           return dtNumberOfItems;
       }

    }
}